namespace CSharpPro;

public class Phone
{
    /*a. 品牌(brand): 苹果6SPlus 
        b. -重量(weight): 192g -
    c. 后置摄像头像素(camera):120,000,000 -
    d. 价格(price):6288 
    分析：编程时，请注意各变量数据类型的选取，数值类型需要考虑数值范围*/
   
        public string brand;
        public int weight;
        public int camera;
        public int price;
        
    
    public void DisplayInfo()
    {
        Console.WriteLine("a.品牌(Brand): "+brand);
        Console.WriteLine("b.重量(Weight): "+weight+"g");
        Console.WriteLine("c.后置摄像头像素(Camera): "+camera );
        Console.WriteLine("d.价格(Price): "+price);
    }
   


}